#ifndef SETTINGS_H
#define SETTINGS_H

#include <OgreSingleton.h>
#include <boost/program_options.hpp>
#include <iostream>
#include <string>
class Settings : public Ogre::Singleton<Settings>
{
public:
    Settings();
    bool initialise();
    template<class T>
    inline T getSetting(std::string name)
    {
        return vm[name].as<T>();
    }
private:
    boost::program_options::variables_map vm;
};

#endif